<?php
include("include/database.php");
$mod="";

if(isset($_GET['mod'])){
    $mod=$_GET['mod'];    
};
$title="";
switch($mod){        
    case "sanpham":
        include("pages/sanpham.php");
        $title="Sanpham";
        break;
    case "tintuc":
        include("pages/tintuc.php");
        $title="Tintuc";
        break;
    default:
        include("pages/home.php");
        $title="Trang chu";  
    }